package com.yan.exceptiontest;

public class Test10 {
    public static void main(String[] args) {
        double h = 8848;
        double a = 0.01;
        int count = 0;
        while(a < h){
            a = 2 * a;
            count++;
        }
        System.out.println("要" + count + "次");
    }
}
